#include "system/debugoutputloggerlistener.h"

#include <windows.h>

namespace dw {
	namespace system {

//------------------------------------------------------------------------------
/*virtual*/ void DebugOutputLoggerListener::log(Logger::Level level, const std::string& message)
{
	std::stringstream sstream;

	sstream << "[" << Logger::getInstance().levelToString(level) << "] " << message;
	::OutputDebugString(sstream.str().c_str());
}

	} // namespace system
} // namespace dw
